﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="ActivityItemChart.aspx.cs" Inherits="WebFormsSample.ActivityItemChart" %>

<%@ Import Namespace="ActivityTrackingLog.Web.Helpers" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Chart for ActivityItem
    </h2>
    <p>
        Data in the table below is embedded into the page on the SERVER side
    </p>
    <h2>
        Source code:
    </h2>
    <p>
        <img class="max-width" src="../Img/activity_item_chart_call.PNG" />
    </p>
    <h2>
        Control Output:
    </h2>
    <div class="margin-top" id="statistics_control_container">
        <%= HtmlHelper.RenderChart<ActivityTrackingLog.Data.ActivityItem>(HtmlHelper.ViewTypeEnum.Control, true) %>
    </div>
    <script type="text/javascript">
        $(function () {
            logClientSideActivity('ActivityItemChartLoaded');
        })
    </script>
</asp:Content>
